// 4.1 The if and if-else statements

#define LIMIT 3000.0
#include <stdio.h>

int main()
{
    int idNum;
    float miles;

    printf("Please type in car number and mileage: ");
    scanf("%d %f", &idNum, &miles);

    if (miles > LIMIT)
        printf("Car %d is over the limit. \n", idNum);

    printf("End of program output.\n");

    return 0;
}